AcVendor\Brick\Math\Internal\Calculator C

Total Complexity 101
Dependencies 3
Dependents 2
Total lines 729
Lines of code 285
Logical lines of code 189
Comment lines 277
Methods 32
Properties 1

Methods 32

Method Rating Maintainability Complexity Lines of code
divRound()
B
41 19 52
bitwise()
A
46 12 39
cmp()
A
55 8 19
fromArbitraryBase()
S
52 7 25
toDecimal()
S
56 5 17
modInverse()
S
59 5 14
twosComplement()
S
57 4 16
toArbitraryBase()
S
60 3 13
toBase()
S
62 3 11
neg()
S
65 3 9
init()
S
66 3 8
detect()
S
66 3 9
gcd()
S
66 3 9
abs()
S
76 2 3
toBinary()
S
66 2 8
get()
S
71 2 6
gcdExtended()
S
64 2 9
or()
S
79 1 3
and()
S
79 1 3
xor()
S
79 1 3
set()
S
79 1 3
fromBase()
S
78 1 3
sqrt()
S
100 1 0
mod()
S
78 1 3
pow()
S
100 1 0
divQR()
S
100 1 0
divR()
S
100 1 0
divQ()
S
100 1 0
mul()
S
100 1 0
sub()
S
100 1 0
add()
S
100 1 0
modPow()
S
100 1 0